package com.meilai.project.entity.personal.mission;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @Author ljy
 * @Date 2022/3/30 22:23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mission_record")
@ApiModel(value="MissionRecord对象", description="任务提醒时间记录")
public class MissionRecord extends BaseEntity {

    @ApiModelProperty(value = "任务id")
    private Long mission_id;

    @ApiModelProperty(value = "提醒时间")
    private LocalDateTime tip_time;

    @ApiModelProperty(value = "第几次提醒")
    private Integer time;

    @ApiModelProperty(value = "是否已经提醒 ,0 否 ,1 是")
    private Integer type;
}
